//
//  shoppingCardModel.m
//  pmmSS
//
//  Created by Mac book on 2017/9/27.
//  Copyright © 2017年 WTFSSD. All rights reserved.
//

#import "shoppingCardModel.h"

@implementation shoppingCardModel

+(shoppingCardModel *)initWithDic:(NSDictionary *)dic{

    shoppingCardModel *model = [[shoppingCardModel alloc]init] ;


    model.iconImage = dic[@"iconImage"];
    model.iconTitle = dic[@"iconTitle"];

    model.price = [dic[@"price"] integerValue];
    model.count = [dic[@"count"] integerValue];

    model.selectState = [dic[@"selectState"]boolValue];

    return model;
}
@end
